<% content_tag_for :li, repository, :class => "clearfix" do %>

	<h1><%= repository.name %></h1>

	<div class="content">
		<address>Subversion URL: <label><%= repository.svn_url(@signed_user) %></label></address>
		<div class="desc">
			<div><%= repository.desc %></div>
		</div>

		<div class="repository_actions">
			<%= display_controller_depend_basic_link("Note <span>(#{repository.notes.size})</span>", repository_notes_path(repository), "notes") %>
			| <%= display_controller_depend_basic_link("Browse", "/#{repository.name}/svn/", "svnbrowser") %>
			| <%= link_to '&deg;Dump', backup_repository_path(repository), :method => :post, :class => "basic" %>

			<% only_for_admin do %>
				<%# link_to 'Delete', repository_path(repository), :method => :delete, :confirm => "Warning!\nEvery source will be destroyed.\nAre you sure to continue?", :class => "warn" %>
				| <%= display_controller_depend_basic_link("Member", repository_members_path(repository), "members") %>
			<% end %>
		</div>
	</div>

<% end %>
